package ltd.yangyh.factory;

import ltd.yangyh.service.Impl.UserServiceImpl;
import ltd.yangyh.service.UserService;

public class UserServiceFactory {
    public static UserService getUserService() {
        System.out.println("从工厂获取UserService");
        return new UserServiceImpl();
    }
}
